Add support for ets:update_counter primitive

This comes as a response to Issue #33.