Presence

Global refactoring. Presence and history support using Redis. Bootstrap 3.0 for web interface.