Add deployment scripts and viewport setting

Make it possible to deploy the app and use it on a Tizen device.
Move inline styles to stylesheet and fix <head> content
Sort out event handlers for sliding menu

Instead of tracking the open state of the menu,
use the "slide" class to determine whether the
menu is open or not at the moment.

And switch to one-time-only handlers to open/close
the menu each time it is clicked.

In addition, use setTimeout() to ensure that
all layout operations for hidden elements are
completed before attempting to show the home page
and close the menu.

This fixes a bug with the menu where it would occasionally not
hide elements correctly, leaving the app broken (no menu button
to get back to the home page, and the menu itself unresponsive
to clicks).
Remove unused images
Add grunt build, bower for component management, and requirejs
Add some grunt scaffolding to run perf tests

Add grunt tasks to do the following:

* Inline a JS file at the end of an HTML file.
* Run an arbitrary shell command on a device (part of the sdb
  task).

Add grunt config to enable performance testing:

* Add a task to inline a JS file which saves performance.timing
  to localStorage.
* Add a task to push a localStorage dump script to the device.
* Add a task to run the localStorage dump script.
* Add a task to reinstall the app, stop/start it 10 times, then
  dump localStorage to the console.
Split index.html into two pieces

Load majority of the HTML once the initial page is show
Load majority of the HTML once the initial page is shownn
Replace background pngs with jpgs
Include full requirejs in distribution

This will enable loading code dynamically, which will mean
we can keep requirejs but load code in segments.
Load JS after DOM is complete

Load only the bare minimum JS to enable the pages.html fragment
to be loaded; once that HTML is loaded and in the DOM,
load the majority of the JS files; once they're all done,
init the app.

This provides a substantial benefit, in that the initial display
of the HTML page is about 3 times faster.
Fix quit to main menu from within games (not via the menu drop-down)

I moved the show page code out of the individual games into
app.js. However, bowling and rockets games provide a way to
quit early out of the game, which means they need to be able
to show the home page themselves.
Switch to jqmobi from jquery
Fix Chrome extension build
Update docs with correct packages, add HACKING doc
Streamline build by removing unnecessary step

The concat:dist step was redundant, as almond is no longer being
used as the AMD loader.

Remove grunt-contrib-concat from the Gruntfile and package.json.
Include bower in dev dependencies listed in package.json

This should mean that doing npm install will ensure all build
dependencies are present.
Revert "Switch to jqmobi from jquery"

jqmobi doesn't work the same way as jquery in the pirates
game, resulting in the pirates disappearing when you
drop them on the ship.

So revert to jquery.

This reverts commit 8eac3ed14204a677976afd82415bf723599e1ddf.
Correct paths in HACKING file