Properly capture post revision_id using save_post callback

Fixes #585 

@shadyvb Please review