Add doctested function to validate version unmbers.
Check version in all scripts.

Also some pep8 stuff and better error msgs.
Merge pull request #26 from sotte/add_version_validation

Add version validation before catkinizing