Added preflight OPTIONS middleware
Merge pull request #3 from samgiles/preflightopts

Added preflight OPTIONS middleware