added checks for given params and returning BAD_REQUEST on missing required params and later NOT_FOUND when params are given but not found in DB
added checks for given params and returning BAD_REQUEST on missing required params and later NOT_FOUND when params are given but not found in DB

iliyan-trifonov/notepads-nodejs-angularjs-mongodb-bootstrap,iliyan-trifonov/notepads-nodejs-angularjs-mongodb-bootstrap