Internal restructuring

Moves (internal) function to the top.
feat: nested objects will be transformed when using `$translateProvider.translations` statically

related #36
Merge branch 'test-fix' into refactoring-flatObject-for-statics
Merge pull request #38 from knalli/refactoring-flatObject-for-statics

Refactoring flat object for statics