Bug 1201110 - Part 6: initial changes to SQLiteBookmarks.
Bug 1201110 - Part 6: initial changes to SQLiteBookmarks.

* Remove LocalBookmarkNodeFactory altogether. Local bookmarks are now the same shape as the mirror.
* Rewrite getChildrenWhere as getChildrenWithParent, understanding local and mirror structure.
* Rewrite internal model/folder calls to use Deferred and the new hierarchy helper.
* Use the buffer table instead of the mirror for storing incoming records.
* Use titleForSpecialGUID when preparing models for the local bookmarks DB.
* Specify local_modified and sync_status when inserting a new mobile bookmark.

HongliYu/firefox-ios,mozilla-mobile/firefox-ios,luoziyong/firefox-ios,eoger/firefox-ios,Bunn/firefox-ios,tecgirl/firefox-ios,DarrenKong/firefox-ios,eoger/firefox-ios,luoziyong/firefox-ios,DarrenKong/firefox-ios,vbudhram/firefox-ios,farhanpatel/firefox-ios,kesun421/firefox-ios,shorlander/firefox-ios,jacobwhite/firefox-ios,Bunn/firefox-ios,sharath-cliqz/browser-ios,radazzouz/firefox-ios,mauryat/firefox-ios,ncalexan/firefox-ios,st3fan/firefox-ios,aaronraimist/firefox-ios,Ehrippura/firefox-ios,mozilla-mobile/firefox-ios,flodolo/firefox-ios,SuPair/firefox-ios,justindarc/firefox-ios,AaronMT/firefox-ios,justindarc/firefox-ios,kesun421/firefox-ios,luoziyong/firefox-ios,jacobwhite/firefox-ios,Ehrippura/firefox-ios,sharath-cliqz/browser-ios,varkor/firefox-ios,ncalexan/firefox-ios,garvankeeley/firefox-ios,eoger/firefox-ios,Johennes/firefox-ios,alessiobrozzi/firefox-ios,cliqz-oss/browser-ios,justindarc/firefox-ios,DarrenKong/firefox-ios,Ehrippura/firefox-ios,kesun421/firefox-ios,SuPair/firefox-ios,garvankeeley/firefox-ios,doronkatz/firefox-ios,Acidburn0zzz/firefox-ios,cliqz-oss/browser-ios,shorlander/firefox-ios,mkaply/firefox-ios,eoger/firefox-ios,StYaphet/firefox-ios,alessiobrozzi/firefox-ios,radazzouz/firefox-ios,radazzouz/firefox-ios,StYaphet/firefox-ios,mkaply/firefox-ios,Johennes/firefox-ios,eoger/firefox-ios,DarrenKong/firefox-ios,mshhmzh/firefox-ios,ncalexan/firefox-ios,tecgirl/firefox-ios,garvankeeley/firefox-ios,mozilla-mobile/firefox-ios,flodolo/firefox-ios,flodolo/firefox-ios,tecgirl/firefox-ios,Ehrippura/firefox-ios,mozilla-mobile/firefox-ios,ncalexan/firefox-ios,tecgirl/firefox-ios,justindarc/firefox-ios,luoziyong/firefox-ios,AaronMT/firefox-ios,mshhmzh/firefox-ios,mshhmzh/firefox-ios,st3fan/firefox-ios,doronkatz/firefox-ios,ncalexan/firefox-ios,flodolo/firefox-ios,flodolo/firefox-ios,cliqz-oss/browser-ios,st3fan/firefox-ios,kesun421/firefox-ios,tecgirl/firefox-ios,shorlander/firefox-ios,SuPair/firefox-ios,vbudhram/firefox-ios,st3fan/firefox-ios,vbudhram/firefox-ios,luoziyong/firefox-ios,Acidburn0zzz/firefox-ios,shorlander/firefox-ios,Johennes/firefox-ios,radazzouz/firefox-ios,Bunn/firefox-ios,st3fan/firefox-ios,radazzouz/firefox-ios,sharath-cliqz/browser-ios,kesun421/firefox-ios,AaronMT/firefox-ios,HongliYu/firefox-ios,varkor/firefox-ios,luoziyong/firefox-ios,SuPair/firefox-ios,cliqz-oss/browser-ios,kesun421/firefox-ios,cliqz-oss/browser-ios,garvankeeley/firefox-ios,alessiobrozzi/firefox-ios,vbudhram/firefox-ios,mkaply/firefox-ios,aaronraimist/firefox-ios,st3fan/firefox-ios,jacobwhite/firefox-ios,luoziyong/firefox-ios,Acidburn0zzz/firefox-ios,garvankeeley/firefox-ios,eoger/firefox-ios,DarrenKong/firefox-ios,Ehrippura/firefox-ios,Johennes/firefox-ios,AaronMT/firefox-ios,Bunn/firefox-ios,AaronMT/firefox-ios,mauryat/firefox-ios,aaronraimist/firefox-ios,DarrenKong/firefox-ios,SuPair/firefox-ios,alessiobrozzi/firefox-ios,mkaply/firefox-ios,varkor/firefox-ios,HongliYu/firefox-ios,Acidburn0zzz/firefox-ios,varkor/firefox-ios,jacobwhite/firefox-ios,doronkatz/firefox-ios,HongliYu/firefox-ios,mozilla-mobile/firefox-ios,AaronMT/firefox-ios,DarrenKong/firefox-ios,vbudhram/firefox-ios,cliqz-oss/browser-ios,sharath-cliqz/browser-ios,mauryat/firefox-ios,aaronraimist/firefox-ios,Acidburn0zzz/firefox-ios,Acidburn0zzz/firefox-ios,StYaphet/firefox-ios,Acidburn0zzz/firefox-ios,mauryat/firefox-ios,cliqz-oss/browser-ios,farhanpatel/firefox-ios,HongliYu/firefox-ios,eoger/firefox-ios,alessiobrozzi/firefox-ios,mshhmzh/firefox-ios,mozilla-mobile/firefox-ios,shorlander/firefox-ios,ncalexan/firefox-ios,st3fan/firefox-ios,mkaply/firefox-ios,mshhmzh/firefox-ios,sharath-cliqz/browser-ios,doronkatz/firefox-ios,Ehrippura/firefox-ios,mauryat/firefox-ios,garvankeeley/firefox-ios,aaronraimist/firefox-ios,tecgirl/firefox-ios,Johennes/firefox-ios,farhanpatel/firefox-ios,sharath-cliqz/browser-ios,aaronraimist/firefox-ios,mkaply/firefox-ios,StYaphet/firefox-ios,varkor/firefox-ios,cliqz-oss/browser-ios,justindarc/firefox-ios,vbudhram/firefox-ios,radazzouz/firefox-ios,sharath-cliqz/browser-ios,farhanpatel/firefox-ios,vbudhram/firefox-ios,HongliYu/firefox-ios,SuPair/firefox-ios,shorlander/firefox-ios,jacobwhite/firefox-ios,varkor/firefox-ios,tecgirl/firefox-ios,Bunn/firefox-ios,radazzouz/firefox-ios,shorlander/firefox-ios,justindarc/firefox-ios,aaronraimist/firefox-ios,doronkatz/firefox-ios,StYaphet/firefox-ios,Johennes/firefox-ios,flodolo/firefox-ios,AaronMT/firefox-ios,Johennes/firefox-ios,farhanpatel/firefox-ios,StYaphet/firefox-ios,jacobwhite/firefox-ios,alessiobrozzi/firefox-ios,farhanpatel/firefox-ios,varkor/firefox-ios,mauryat/firefox-ios,doronkatz/firefox-ios,farhanpatel/firefox-ios,varkor/firefox-ios,mozilla-mobile/firefox-ios,ncalexan/firefox-ios,alessiobrozzi/firefox-ios,sharath-cliqz/browser-ios,Acidburn0zzz/firefox-ios,HongliYu/firefox-ios,garvankeeley/firefox-ios,doronkatz/firefox-ios,Johennes/firefox-ios,mauryat/firefox-ios,kesun421/firefox-ios,SuPair/firefox-ios,mkaply/firefox-ios,Bunn/firefox-ios,StYaphet/firefox-ios,aaronraimist/firefox-ios,mshhmzh/firefox-ios,mshhmzh/firefox-ios,flodolo/firefox-ios,mshhmzh/firefox-ios,st3fan/firefox-ios,Bunn/firefox-ios,Ehrippura/firefox-ios,justindarc/firefox-ios,tecgirl/firefox-ios,jacobwhite/firefox-ios,StYaphet/firefox-ios