Use environment variables for connection info

Change _named_client to use environment variables for connection
information instead of using the connection_info property on instances.
Remove pslms.egg-info

*.egg-info should not be checked in.
Ignore lms
Add p2couch as a console script

The existing import-pslms-* console scripts are thin shims over
ps2couch. These are deprecated in favour of calling ps2couch directly.
Add lxml and pytz dependencies
Add argument for batching

The script currently calls CouchDB separately for each document. This
argument will be used to control batching of documents for better
performance.
Modify main to queue docs and process in batch

Queue up to args.batch number of documents before calling process_f on
each document. At the moment, this does not make bulk calls to the
database.
Switch to processing documents in bulk

Instead of calling the from_ps update function with each document, move
the processing to this script and use CouchDB’s bulk document API to
fetch/update documents.
Fix invocation of process_documents in main

Missing self.
Filter out documents without sourcedid.id

The current list comprehension only filters out documents without
sourcedid. Filter out documents without sourcedid.id.
Fill call to copy

The script imports copy from copy. Call copy directly.
Get sourcedid.id from src_doc when not db_doc

If db_doc is None, get the id from src_doc, not db_doc.
Attribute is revised if db_doc does not exist

If db_doc does not exist, then the special attributes in person
documents are considered revised.
Explicitly open file for etree.iterparse

Pass an open file to etree.iterparse instead of a file path so that a
handle to the file is available for future use.
Add progress bar

Use the progressbar module to display a progress bar in the main loop
that processes elements.
Modify sourcedid.id for person elements

In process_documents, modify the sourcedid.id of person elements
instead of just in the extracted ids for bulk fetching, so that later
methods are working with the correct id.
Fix union of src_keys with doc_keys

Wrong operator used. | is the union operator.
Fix getting datasource from src_doc
Correct and set member_id for memberships

Memberships are broken down by member. Members have a custom id that
consist of the membership id followed by the member id. Set the correct
id on members.
Remove connection_info from initializer

Connection dictionaries have been replaced by environment variables.
Remove vestigial data.