Introduction of validation as described in README. Related unit tests added to unit-tests.js (though coverage is in need of improvement). app.js updated to support requirements of validation described in spec and satisfy unit-tests.