Add behaviour to cc page (bug 941998)

This branch does the following: 

* Setup client-side code to use Bower \[1] (like package.json but for client-side deps)
* Add third party jQuery plugin to do input masks [2]
* Setup masking of the cc and expiry fields.
* Add test coverage of the input masking to the uitests.
* Add test coverage of the styleguide js content toggle to the uitests.
* Setup captures for test fails as well as timeouts.
* Use grunt-contrib-clean to nuke the captures dir on uitest runs.
* Use grunt-bower-task to move libs from bower_components into media/lib this way we have the benefit of bower controlled versions, but none of the clutter from just dumping deps into bower_components.

[1] http://bower.io/
[2] http://firstopinion.github.io/formatter.js/index.html