just ignore exceptions when migrating localdrafts table
if url is null, getURI returns null
rename static factory field
avoid a recuring exception print when no categories are selected
split preparePostMethod in a separate function so it could be tested
add mockito test dependency
move DB test files to models submodule
new SystemServiceFactory to mock NotificationManager et al.
new PostUploadServiceTest reproducing #884