This adds an API call allowing for unregistration to include destruction of private data that is not managed by the flashdev framework. This also updates the existing consumers of flashdev to use the new private data destructor callback.
Added new IOCTLs to flashdev to get sector info. Updated flashdev shell command and flashdev test with new IOCTLs.