Add some exception classes

Added NoSuchEngineException and NoEnginesException classes, which
will allow better exception handling in the code, instead of just
raising generic Exception.

Change-Id: Ic9104dda3b1e5414ae11e8576a4ad29961be5e95
Merge "Add some exception classes"