Add possibility to create Failure from exception

In some cases it's great to have possibility to create
misc.Failure object from an exception directly. This
commit adds the 'from_exception' class method to create
misc.Failure in such way.

Change-Id: I44ae6720196b7bbe1e4ad538018487f0761a1af5