moving the js for view definitions into separate files

This way we get syntax highlighting and so on.
adding default reduce function to couch views read from files
Merge pull request #9 from leapcode/feature/read-design-from-js-files

moving the js for view definitions into separate files