Reformat some long lines
Add an assertException utility function
Use the assertException helper
#76, add Ninja specifc lint checking
#76, add tests for the lint checking