fixing bug in getChangeSet()
fixing up crazy logic in HashType
fixes for APC-enabled PHP