Added code to decode base64 encoded file contents.
Added code to decode base64 encoded file contents.

Also switched to return type std::string to avoid memory leaks.

hheld/ResPP,hheld/ResPP,hheld/ResPP