Modified doc's gruntfile and package js to do the url rewrites so the an...

...gular app will work correctly locally when refreshing / using URLs