Add SiteName and MachineName to application fields

- Add SiteName and MachineName fields to application parser and application
  record.
- Add app parser tests for extra fields.
Change app parser to always treat "mpi" as False
Normalise line endings in app parser test
Initial commit of app parsing bin and conf files
Initial commit of schema for app accounting
Add ApplicationRecord procedures to mysql.py