Move NIFStream functions into a cpp file where they belong

Figured I'd send this in before I have to do any more rebasing.

Now it's extremely easy to see what functions nifstream exposes.