Use IndexMut instead of get_mut() now that IndexMut works properly.

This is needed to get the library to compile in the latest nightly (got the notification from Travis CI on `rust-otp`, which depends on this library :) ).

Also renamed lowercase static constants to uppercase, as the compiler gives a warning otherwise.