Incremented version to 0.5.1 for release.

- Current spec status: 124 examples, 0 failures.
Minor internal refactor of options; allow :foreign_key option (TODO)