Show useful error info for MAAS errors. Also some cleanup.
pep8
Merge pull request #134 from mikemccracken/ex-show-constraints-in-error

Show useful error info for MAAS errors. Also some cleanup.