neth: add -m option for mining and fix contract creation