Avoid compiler warnings (clang): Remove / deactivate unused functions / variables.
Bugfixes from compiler warnings: Should have been bit operations, not logical operators.
Bugfix from compiler warnings: pos variable might be -1, so it must not be unsigned.
Bugfix from compiler warnings: Use the correct pointer variable.
Add build directives for travis-ci.org continuous integration testing