Update rapidjson
Add base64 decoding function
Add png mode
Fix emulator to use correct pixel depth
Add scrolling to pixelmap and png modes