Removed dependency rest, there is a class REST available from nap which should be used.
Modified dependency xmldsig to use version 0.2.2 and above because of a bug in an older version of xmldsig.

- See https://github.com/benoist/xmldsig/issues/9
Replaced xmlsec1 with xmldsig (removed temp changes made to implement this).