Pandas issue #1512 - first attempt to implement support for reading stata files. Unit tests added but not yet working.
Fixed several style issues and small bugs. Removed unnecessary code.

Newly introduced problem: Conversion of np.nan to integer (error in first unit test)