Stats not showing tabs | Stats date form | SSL compatibility

- Fix #305 (Stats not showing tabs).
- Date form enhancement (stats page).
- Changed prettyPhoto to 3.1.5
- SSL compatibility