Added some functionality to Character class, relocated all module-wide code to d20pal.js.
Added some things to VariableStat class, considering removing BaseClass soon.