another try at a resource buf api
added tests and fixed many issues
got cycpp to work. Added deprecation warning to resourcebuff
change all uses of ResourceBuff to ResBuf