Implemented bluetooth proximity-based locking

Still buggy and in need of calibration for individual devices.

Also did some refactoring and dropped SupportFragments.