added travis badge to readme, returned function in server.js, replaced depricated sendfile method() with sendFile() method