Updated collection level locks to be stored in a table instead of in drupal vars.
Added the install file to set up the table of collection level locks on module install.