Completed implementation of KImage.js
Added FrameMonitor implementation
Moved global variables for the KLibraries to KDefinitions.js
Added test case for KCanvas with animation support and fixed errors.