Fix for issue #95, ensure casts from dynamic/object to int, uint, and Number use cast method.  Also make sure calls to cast methods are not dynamic calls.