Added testbeds for ambient, proximity, vibration, and orientation; refactored code, tweaked css