Possible vulnerability in my transaction verification code detected. Does anyone know more about raw transactions?
Added all missing functions needed to create, sign and send raw transactions from p2sh addresses. Will add comments in next commits
ESCROW MOTHERFUCKING WORKS THEORETICALLY - Added all missing functions required for receiving, verifying, creating, signing and sending to and from p2sh addresses and tested them successfully in a simple 2-of-2-escrow.
A lot more testing needs to be done and there are still some things I need to check to make sure noone gets scammed but all major issues are out of the way.

In the next commits I will do some cleaning up and commenting, create some helper functions and structures to hold information about the current state of outstanding escrow transactions and add GUI items so more people can start testing how well it actually works.