Grunt server: added task that runs a local web server

Cleaned up version of #2781.