Support html5mode(true)

Added rewrite support to grunt in order to make #75 easier to handle.
it grabs the url segment and passes it to index.html.  The regexp basically says give me anything that's not a "\" or a "."