Using rack-cors to fix CORS issues.
Merge branch 'dev' into hbzhou