Added locale selection capability.
Fix locale selection of nested attributes.
The default locale can not be removed, otherwise an empty translation will be created.
Changed group of asset precompile from assets to all.
integer the modifications of the pull request 23 made on the base repo