update gitignore.
add tests for increasing test coverage.
remove unnecessary main call.
add status image of version badge.
add settings for coveralls.