Update hadoop tutorial script.

    - Add pre/post packaging hook scripts
    - Don't run the jobtracker at the end by default
    - Add CDH4.2.0 target