Move genconfig/gencode to ../cmake/memcached

be moved back when ep-engine is being built by CMake

Change-Id: If7aaca45ec63e0b2aa9cc332873865943758d745
Use byteorder from platform

Change-Id: Ic92b3960d73c4f6c89e43491031d386f41754b46