Added status codes.
Merge pull request #35 from OpenHMD/error-codes

Added status codes.