Add NIF upgrade function to allow the bitwise module to be reloaded in an interactive shell. Also fix the ERTS version regex in rebar.config so it allows Erlang 18 to be used.