Configurable endianness of data

This patch provides a runtime option, `endianness`. possible values:

0: data has same endianness as host
1: data is little endian
2: data is big endian

Commands that operate on words (set, write, and comparisons) respect
this setting when reading and writing.

Nothing is changed in the GUI, this is a command-line only option, for
now.

See https://code.google.com/p/scanmem/issues/detail?id=70
Merge pull request #29 from hraban/endianness

Configurable endianness of data