Allow to enable cross-origin requests

Greeting from Bitraf hackerspace in Oslo. I'm making a digital fabrication pipeline based on OctoPrint, and want to use the REST API from the other web apps in our network. Here is a little pullrequest that enables it.