Add parameter validator
Merge branch 'master' of github.com:GoHappy/Happy

Conflicts:
	api.go