Fix integer reading.
Changed littleEndian argument in _getBytes to reflect expected byte order; small optimizations.
Merge pull request #31 from RReverser/master

Important fixes