Modded gruntfile to process baw.configuration.tpl.js

Added options to grunt file that allow automatic rewriting of configuration files and path references for different environements.

Fixed a few bugs with the previous link on the listen page.