strict standards api-con-error::add()
refactor api-con-error::add_error()
update tests
Merge pull request #81 from daithi-coombes/error-strict-standards

strict standards