CA-118027: Don't send RPC calls that are too large

The request size limit is known by xapi and so slaves shouldn't try and send
requests that it knows will be rejected.

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>

Conflicts:
	ocaml/database/master_connection.ml

Resolved-by: Si Beaumont <simon.beaumont@citrix.com>
CA-118466: Prevent snapshot revert from deleting VM VDIs that were attached
after the snapshot was taken.
Signed-off-by: Siddharth Vinothkumar <siddharth.vinothkumar@citrix.com>
Remove a load of identical definitions of set_difference

Signed-off-by: John Else <john.else@citrix.com>
Remove unused function for handling RHEL3

This function hasn't been used since Oxford, and we haven't supported
RHEL 3 for a while.

Signed-off-by: John Else <john.else@citrix.com>
Remove redundant import code

These files aren't being compiled.

Signed-off-by: John Else <john.else@citrix.com>
Remove some more code that isn't being compiled

Signed-off-by: John Else <john.else@citrix.com>
Fix comment

Signed-off-by: John Else <john.else@citrix.com>
Fix typo

Signed-off-by: John Else <john.else@citrix.com>
Fix typo

Signed-off-by: John Else <john.else@citrix.com>
Fix typo

Signed-off-by: John Else <john.else@citrix.com>
Fix typo

Signed-off-by: John Else <john.else@citrix.com>
Fix typo

Signed-off-by: John Else <john.else@citrix.com>
Fix typo

Signed-off-by: John Else <john.else@citrix.com>
Fix typo

Signed-off-by: John Else <john.else@citrix.com>
Fix typo

Signed-off-by: John Else <john.else@citrix.com>
Merge pull request #1524 from siddharthv/CA-118466

CA-118466: Prevent snapshot revert from deleting VM VDIs that were attached after the snapshot was taken.
Merge pull request #1535 from johnelse/code-tidying

Dead code removal and typo fixes
Merge pull request #1531 from simonjbeaumont/ca-118027-trunk

Don't send RPC calls that are too large