Bugfix for edit not working on solutions + bugfixes for problems noticed...

1) Fixes problem with editing for both Calendar & Documents, [SOL-124]

2) Fixes stuff reported by Xavier
You removed the sending of the "defaults" argument, but the js still was looking for it - this caused an difficult to debug problem.