Added error codes for virtual port operations.
review comments addressed.
Merge into master from pull request #32:
Error codes for virtual port operations (https://github.com/floodlight/loxigen/pull/32)