Squashed commit of the following:

commit 4488448de3111818a387faecc3a7e6d2821e9dc6
Author: Holly Becker <hbecker@artefactual.com>
Date:   Thu Nov 21 18:24:03 2013 -0800

    Add enable/disable button to Location/Pipeline table views

    refs #6008

    Add a button to enabled/disable a Location or Pipeline, without having to
    go to edit on both table and detail view.  Update next URL redirects to
    make UI flow better.

commit 444a5af73184d4cfccbb4b9ebab225e7b4d12bbb
Author: Holly Becker <hbecker@artefactual.com>
Date:   Thu Nov 21 18:12:37 2013 -0800

    Change locations URLs

    Change the location delete and detail URLS to not be inside space/.
    Locations have their own UUID, and don't need the space's UUID to be
    identified, and it only made the URLs more complicated.

    Location create is still inside space/<uuid of space> because we need to
    know what space a location goes in during creation.  Location edit also must
    take a space UUID as a parameter, since it uses the same view as create.

commit d0801b338c14d3f16eb8f7193cbfadb1d5b818f5
Author: Holly Becker <hbecker@artefactual.com>
Date:   Thu Nov 21 17:39:56 2013 -0800

    Add a locations detail page

    refs #6008

    Add a detail page for locations, listing more information about them as
    well as associated pipelines and packages.  Redirect to the locations
    detail page when done editing.  Pulled out the pipelines and packages table
    HTML into snippets, for easier reuse.

commit 843e99e35804899b17435404c6a9bbea3fbd199c
Author: Holly Becker <hbecker@artefactual.com>
Date:   Thu Nov 21 16:21:11 2013 -0800

    Allowed deletion of Spaces and Pipelines

    refs #6008

    Added delete views for Spaces and Pipelines.  Updated the dependent_objects
    function to work with OneToOneFields (ignore them, since they're deleted
    when the parent object is).  Factored out the common code in getting a
    delete_context.  Added links to the delete pages to the templates.

commit 22b2aefdc170f30cb36090fbe7bff1935101d00b
Author: Holly Becker <hbecker@artefactual.com>
Date:   Thu Nov 21 12:33:15 2013 -0800

    Enable deleting locations

    refs #6008

    Added view to delete locations if there are no foreign keys pointing at
    them.  Used a decorator on the delete function to require confirmation
    before deleting, and enforce only deleting if there are no dependent
    objects.

commit f5f60f2aa7f18285a905d3ec8af32c92b0bf50b6
Author: Holly Becker <hbecker@artefactual.com>
Date:   Thu Nov 21 11:56:47 2013 -0800

    Don't store the origin location for Packages

    refs #6008

    Origin location/path isn't needed for packages except when they are first
    created and copied to the storage service.  Don't store the origin
    information, just the origin pipeline.  This will make it work better
    for deleting Locations.

    Updated store_aip and the resource for the changes.

commit 2d18e6db23dadb9de9d4010ac3554fa003ea5c20
Author: Holly Becker <hbecker@artefactual.com>
Date:   Wed Nov 20 13:25:35 2013 -0800

    Spaces can be edited

    refs #6008

    Added a view for editing spaces.  Access protocol is not editable once a
    space has been created, enforced at the template and form clean level.

commit 0eab49a7fa050bc2c9f4a49d4f961b22d29af038
Author: Holly Becker <hbecker@artefactual.com>
Date:   Tue Nov 19 16:03:53 2013 -0800

    Refactoring

    Added function to get the child space object to Spaces.  Updated display of
    child spaces to use verbose names (instead of column names).