Fixed ctypes issue in dcd and added tests.  re issue #184 and #183

Note: this doesn't actually use MDTraj, as Christian found a quick solution to the problem.