outputScript address type checking and remove pay to script
supporting p2sh in createOutputScript
undefined check for script type
Merge pull request #2 from cryptocoinjs/bugfix-script

Make setting the type of script generated to be an explicit parameter passed to createOutputScript method