Bugfix.
Added separate hooks for client init process, so slow stuff can be started before ember does its setup.
Helper util method.