Fix params for capabilities
Create action expects a Capability object, but a String was being passed from the params. This commit allows a JSON array to be passed in "capabilities" and uses it to create the Capability objects before creating a BasicResource. This is still a WIP, but should be merged since we have broken tests. Note that I also set some of the tests to pending.