Use stack-cors middleware

Use the Stack Middleware from https://github.com/asm89/stack-cors but keep the current config intact for now..
Also adds a 'hosts' option, to specify subdomains etc. (Fixes #8)

This shouldn't be breaking, but does remove support for Laravel 4.0 (because it doesn't support middlewares), but the can use 0.2.x.