Added permissions, base bluetooth LE check code, and forced SDK version ...

...to be 18 (min version for Bluetooth LE support)

In addition somehow one of these .iml files got missed when cleaning up the old crap.