RebuildNotedb: Fix double Guice binding of NotesMigration instance

Once it was bound because it was annotated with @Singleton annotation and
then again explicitly in RebuildNotedb class.

Also add a check that notedb is only rebuilt when notes migration is
enabled.

Change-Id: Id42e08d34ce72f32766f67979548a350022dbdd5
1 file changed