component.js: Introduce Preferences.jsm, and use it

* Remove PrefService
* Remove PrefBranch(), getPrefType()
Remove a unused variable
component.js: Introduce Services.jsm & XPCOMUtils.jsm, and use it

* Remove defineLazyServiceGetter() #48