Use std::error_code as a basis for errors.
Fixing tests and examples.
Use new error infrastructure in ofp.
Use new error framework.

- Renamed Error message to "Error_message" to avoid naming
  issues with error class.
Update controller to use new error framework.
Merge branch 'asutton/error'