Updated url fields to match requirements of Django 1.5
Minor enhancements of inventory

Also corrected url fields for Django 1.5.
Now, a molecule  without object attached does not display the medicine
table header.