Fixed assert util

Use assert for critical errors at runtime (errors that can only be
handled in the debugging phase). Use ccError to handle errors that the
users may be able to handle themselves (failing to change the resolution
for example).
Added asserts to WIN32 window
Made shortcuts for testing resolution changes