Number implements what is needed to get primitive values.

You can only cast an Integer in an int, a Long in a long, etc.
Merge pull request #29 from matthieu-vergne/quickfix

Number implements what is needed to get primitive values.