Facebook auth support.

- adds Facebook as a valid 3rd-party auth provider
- moves some moderately janky JS-based logging to the server-side
- maintains integrity of current login-based logging for both old and new 3rd-party-auth flows
Also, a note on this line: the analytics module only needs to be initialized once, in lms/startup.py, so you don't need to do it again here.