rename javascript for better handling
add sprocket and coffee
improve polymorphic_selector
restrict id selection to preselected type for better user interface
add name method for better simple_form labeling
precompile authorities.js and include it direct in _form
common helper to include in main application if neccessary