Add __len__ to each of the file objects

I implemented this for all of them except mdcrd and arc. For xtc and trr, it's probably not that fast since you need to step through the whole trajectory, but at least that stepping is done in c.

cc #252