Adding code, tests and read me updates to support...

...the variables 'templatePath', 'localePath' and 'localeFileName' parameters. These parameters allow the developer to load their templates and locale files from a folder other than the default locations. This is valuable when creating two assemblies that use the exact same templates and locale files.

Some of the variables that were defined below are now moved up towards the top to make the error checking simpler to perform.

Also added some better error tracking if the Asset Manager fails to build the entire assembly. Errors are now output as a client-side call to console.error(). These error messages re prefaced with "Asset Manager build error:". This provides a simpler way for the developer to know WHY Asset Manager failed to build.


Old lines 172 to 203 have been moved to the new function 'appendTemplateFiles' found on new lines 286 to 320.