Fix build problem on Ubuntu 14.04
Update gitignore
parser.rl: cosmethic reformatting
Add license headers to test files
Drop dependency on Check