* Changed swap* functions to both return, and take a reference
* Fixed writeInt64 in FileWriter
* Fixed ec.cpp on big endian systems