Merge most recent work

- replaces array_interface with Cython numpy interface
- cleanups
- add nose tests from doctests
- Python 3 support

Notes:

- float32 is disabled
- one or two bugs crept in that need to be fixed

Submitting to avoid too many merge conflicts with PRs from @sciunto