Misc cleanup

- use the Lua aux library
    - optional argument checks
    - more detailed error messages
- restrict the width of the dygraph counter div
Merge pull request #188 from mozilla-services/misc/cleanup

Misc cleanup