Add fail_with() to all module types, move Failure constants to Msf::Module

A reimplementation of #2228