Allow to set explicit sorting for public keys in multisig

- Added an "explicitSorting" argument to createMultiSigOutputScript
- Prevented public keys argument from being mutated
- Added tests
Merge pull request #13 from shesek/explicit-sorting

Allow to set explicit sorting for public keys in multisig