iBeacon allow CORS and add .idea to gitignore