Add support for options in the script builder

commit 7f000079ec0f8bce67aecea6b216666719a1e6c9
Author: Bert Hajee <hajee@moretIA.com>
Date:   Wed Sep 3 21:07:08 2014 +0200

    Made it more defensive of issue's with the custom types

commit d33d994e00120b8712fccd9fc98e7d1eefae5f2a
Author: Bert Hajee <hajee@moretIA.com>
Date:   Wed Sep 3 20:06:38 2014 +0200

    Refactored script_builder

commit 51e57f9cc5becf6cc0151f50308266180400913c
Author: Bert Hajee <hajee@moretIA.com>
Date:   Mon Sep 1 11:31:07 2014 +0200

    Add support for options on executing a internal command