Housekeeping changes.

- Add gitignore.
- Add yardopts.
- Add contributing guide.
- Add LICENSE text.
- Encapsulate rake tasks in tasks directory.
- Complete gemspec.