Fixed path in code and in tests to work on windows

Greetings, 
                  I took the liberty to fix some tests that would not run properly on windows due to some path inconsistencies.

You will also find in this PR a small modification to the code that will 'normalize' the template key name. This is to solve a problem on windows where the template key would be `mgcrea\typename` instead of `mgcrea/typename`.


Feel free to comment on any modification you'd want me to add to make this PR 'mergable'. This is something I need in order to push another PR on angular-strap.


Thank you :)