Refactor location event to get synced properly.

Location change of course won't sync on nucleus window as we don't have
any location there. But for the sake of consistency, I've refactored
location event as other events so it can be made accessible in nucleus
as if we need.

Once initialized, location event of course gets synced in nucleus window
as well (if we ever use iron-router in it) as it overrides .go() calls
and depend on window for back() and forward() events only.
Finish porting login event sync to new code format.

This of course must not be synced in nucleus. But let's stay consistent.
Make forms (input+toggles+submit) work across nucleus and app.

Well, these were the last event that need ported on both apps. I am
still left with customizing scroll for nucleus. I am thinking of making
it scroll the editor window only instead of including sidebar as well.
Removed left-over console.log()s