Fixing ref bug for large reference change events

Was generating invalid REF field
bump version for bugfix
Fixed millions of warnings, but need JWH input on one of the tests that doesn't test anything
alt should be an empty string, not undef when a del (lub added during write)
Fixed broken function in test
Finalised fixes for warnings in tests
Merge pull request #24 from cancerit/dev

Fixes for install and test warnings. Checked by JWH