Fix incorrect highlighting of periods when in a range.

The period had been set originally to highlight like a number which would
take care of all numbers including the ones exponential notation.
Add separate highlighting for binary numbers
Add highlighting for character literals represented in numeric form

The sharp sign(#) is no longer considered part of an identifier because
it can be used to represent a character by specifying its ascii code after
it, e.g #$42, #66, #%1000_0010
Add highlighting for hexadecimal numbers, e.g $FEED_BACC