Remove AppData screenshot dimensions.

No mention in the spec anymore. Good.
Make py.test happy by adding __init__.pys in test directories.

http://stackoverflow.com/questions/12582503/
Use set_license_type.
Avoid assignments.
Improve configuration file error handling.
Fix minor style issues, documentation etc.