Move lots of stuff in to BlocklyApps.init
Merge pull request #286 from brandonbloom/refactor-init

Move lots of stuff in to BlocklyApps.init