Fix typo in error message
Fix version identification for new git repository.
Merge branch '1.0.x'
Some cleanup and copyright updating

* update some copyrights for 2013
* cleaned up some comments/ifdefs, indentation
* some spelling corrections
* add some missing makefiles