Don't add invalid link relations to HAL output

HAL spec says that the href property of a link relation is
required. Certain parsers, thus, will break if a nil href is
included in the spec. This PR simply checks to make sure these
don't show up in the JSON output if the link you pass in happens
to be nil.
Merge pull request #8 from shekibobo/feature/handle-null-hrefs

Don't add invalid link relations to HAL output
Bumped version 0.1.1 with HAL fixes
Support ruby 1.8.7
Merge pull request #12 from kjg/ruby187_support

Support ruby 1.8.7