Remove unused preqScript argument to SignSignature.

Remove an unused optional argument to the SignSignature functions to
simplify them.
Simplify SignSignature functions.

Simplify the two SignSignature functions by making one call the other
instead of duplicating the code.
Make argument const that can be.

Make a passed-by-ref argument that is never changed const to make this
explicit.
Unify signing of name and non-name inputs.

Unify the signing of name and non-name inputs in the code.  This also
makes signrawtransaction work for name-operation transactions.
Correctly set tx version in createrawtransaction.

If createrawtransaction is called with a name operation, correctly set
its nVersion as a namecoin tx.
changelog.md: atomic tx via rpc
Merge pull request #3 from phelixbtc/patch-7

changelog.md: atomic tx via rpc
Merge pull request #80 from domob1812/sign-nameupdate

Enable atomic name trades via RPC