Core/Entities: First step to 128 bit guids

* Database fields storing full guid have been converted to BINARY(16)