Update to Durandal451 project template.

The update contains two major bug fixes: 
+ an error in the RequireJS config,
+ the project can now handle being hosted in a virtual directory.
There are also quite a few minor fixes and the js code has been cleaned up.

Thank you.