move all javascript requirejs inline templates to /templates/requirejs and remove duplicated code about path & extension check
added coffeescript requirejs support
Merge pull request #171 from stephanebachelier/coffee_requirejs

Coffee requirejs support closes #150 and fixes #159