Implemented CallbackFunction type and tests
Added test for type
made type configurable
fixed typo bug
fixed some liniting errors
beautified.
fixed merge conflict with Object.js
Made type settable by default.

This is to support Enum type in addition to callback, which require
type to be set dynamically.
Removed inheritance from IDLType
Implementation of Enumeration type
Merge branch 'CallbackFunction' into Enumeration-Type
reverted IDLType type attr to readonly
Fixed copy/paste error
Refactored/fixed the way inheritance happens.
added another type attr check test
added a type check for enum types on the contructor
Added enumeration type and tests
beautified
Removed test files that were no longer needed.
removed reference to scripts that are no longer tested.