Make some changes for new annotation processor.

Add some utility methods to SourceFileWriter.
Move classes outside factory package.

Change-Id: I54d947c88d8325a46666bf47606840af95faf9f0
Add Observable model generation.

Change-Id: I767fd0d5585e4e832509e6d435ca06edf8bbf037
Merge "Add Observable model generation."