Timer spice bug fixes and refactoring

- Fixed bug which produced a flash of unstyled content if the spice calls the `onShow` method before the CSS file loads.

![screen shot 2014-12-19 at 11 22 34 am](https://cloud.githubusercontent.com/assets/419567/5508296/30b77700-8779-11e4-9e0d-d0f60fb9700c.png)

- Fixed a bug which caused the text cursor to move to the right if the user attempted to place it at the beginning or the middle of an input.
- Made code formatting consistent (now only follows one style for things like whitespace, quotes, etc).
- Broke out more anonymous functions into named functions [like before](https://github.com/duckduckgo/zeroclickinfo-spice/pull/1341).
@kethinov, good point. Although I don't suspect we'll use a CDN or change the path anytime soon, `$('link[href$="timer.css"]')` should work in just about every case (matches the end of the string). Just seems a little better than looping over all the tags when we have an easy way of specifying the one we want