Merge pull request #1 from caktux/master

support custom gas amount
apply_tx is now apply_transaction in processblock