Added NSInputStream+Misc.

This has a readUint32 method.
Added LimitedInputStream.

This is a wrapper to an NSInputStream that only allows a limited number of
bytes to be read before it starts returning EOF.