Various fixes

Hi - I'd like to add `cobra-mode` to [MELPA](http://melpa.milkbox.net/), and here are a few related fixes/improvements:

* Add autoload cookies
* Use standard header structure, including copyright & licence
* Format parens idiomatically
* Eliminate byte-compilation warnings

Cheers,

-Steve