Implement some of the straightforward data types and functions

This is not ready to merge yet -- doing the pull requests to get automatic builds on Travis.

- [x] Remove the ``xfail``s on tests that need a fix for https://github.com/astropy/astropy/pull/2301

Closes #14 with 7ff79bca26ef0857464d97813abe71d50819684e