*DO NOT MERGE* CME dump_userinfo management command

This includes two commits from Joe and I.  The first creates the dump_userinfo.py file which contains the first draft of the management command.  Following the creation of this file, Joe collected an initial output.csv which was forwarded to the CME accreditation team for feedback by Greg.  A few weeks down the line, Greg received feedback from them in the form of comments on data order and structure.  Last week, I took the opportunity to revise the command to bring it into compliance with the feedback and have collected a new output.csv and sent it back on to Greg for (hopefully) approval by CME.  There were also a few minor bug fixes included in my revisions. @jrbl @stvstnfrd @gbruhns 
Looking at this more closely, you are running db queries on UserProfile and CmeUserProfile in a loop for each enrolled student. This isn't good for performance reasons. You should be able to join all these tables and thus do a single query. I can help you with it if you're not familiar with the arcane syntax of Django queries.