Added support for ordinal values of enums. Added methods: toOrdinal - ge...

...ts the ordinal value of the enum; getByOrdinal - gets the enum with the ordinal value passed; Added options: startIndex - Number, index to start the ordinal values from. Default is 0; Updated tests; Updated README; Added var in setOptions for loop to prevent implicit declaration; Added check if console.log exists before writing error message.