Add mechanisms for the export of records

* Prevent concurrent exports to run on the same binding record by acquiring a
  lock on the binding record before exporting it
* Add a 'export_dependency' helper method in the Exporter to ease the export
  of dependencies