DRY(er) test specs and some formatting.

Cleaned up the code a bit, removed white-space and did some formatting. Updated the specs with a bit better readability and some minor improvements. Updated travis.yml with more rubies but skipped 1.8.7 also add Travis build icon to README (you maybe should to change so it points to your repository).