Normalize the appname

/to @bajtos or @ritch 
/cc @sam-github 

See https://github.com/strongloop/generator-loopback/issues/38