Comment updated: software has no version column
GET method for SoftwareIndexAPI
Include versions when querying software
Docstring updates

Associated agents and jobs for tag are now unconditionally included
Allow including version when POSTin Software
Docstring updates
json_from_request() is not used anymore
No need for a copy of g.json
Minor refactoring to save an if

Using dict.pop() with a default value
Don't try to delete versions if it's not there
Switch to lazy formatting
Style fixes
Minor refactoring to simplify logic
Move import to top of module
Cascade software deletes to versions
Catch database exceptions when committing
Move extracting versions into separate function

The exact same code is going to be used in SingleSoftwareAPI.put(), this
is to avoid dupllicating it.
Don't try to get version from software relation
Add assert_conflict() to test utilities
Add docstring, order to software-versions relation