Versioning, new swap handling
- Cmake generated version.h for versioning
- showVersion() function for version output
- changed swap handling: now swap status lines are dynamically detected
  instead of being hard coded. This will remove eventual problems on systems with
  different /proc/meminfo files. SwapTotal isn't always on line 18.
- .gitignore file for ignoring cmake and make generated files