Break code into modules:
- core
- searchPage
- profilePage

Relevant tasks:
- reorganize and update all building scripts
- review and update all documentation (going forward documentation should be in '/docs' directory)
- move all soy templates to searchPage module

Fixes:
- add missing definition of pagination.array into externs

Core module contains JS logic that is shared across other modules. Right now it concerns visualizations, utils (ImageLoader) and service locator.
More code will be moved to core going forward.

New concept of service locator:
- basic implementation of Locator is in core module and each other module can extend it
- Logging is not dependent on Locator now
- App does not instantiate Locator, instead it is instantiated in InitSearch

Replace home-grown InitDeferred by goog.async.DeferredList
- InitDeferred is deprecated (will be removed)
- initialization code is much more flexible now

Closes #55
Closes #40