Global certificate list building

Added a script which runs over all the courses and builds a JSON dictionary, keyed by user ID, of all the certificates a user was considered for. Also adds some utility functions to certificates.py for easy JSON encoding and decoding of cert objects.