Router fixes. Make convention activation explicit.

-To map view to a view folder, you now need to activate the convention
for the viewLocator by calling useConvention().  To map route names to
modules in the viewmodels folder, you need to call useConvention() on
the router.
-Samples and templates updated based on this new code.
-Fixed some minor issues with old code and regex compatibility in
router.