api helper model: add bad_request() & not_found()
Support /poll/:pid: only id and title for now

 - move "raise HTTP(400 xxx" to api helper
 - format POST method