Fix #1, #2 and everything for package

This will fix the two issues (#1 and #2) and adds the packaging things asked in [this comment](https://github.com/cyril-bouthors/nagios2mantis/pull/4#issuecomment-25600479)