set minimum php version to 5.3.0
remove unused files from gitignore
refactor use of ErrorCode and ErrorDescription