added views to support basic note crud workflow. refactored routes/notes.js to handle content negotiation - probably remove later as well go purely api with fat client