Fix various bugs for binary IO support.

Add "binary" as an option in Solution as a reader and correct some bugs
concerning reading in aux binary files.
Strip stylistic changes
Merge pull request #337 from mandli/binary-io-fix

Fix various bugs for binary IO support.