[SPARK-1274] Add dev scripts to merge PRs and create releases from master to branch-0.9

All the files are one-to-one copied from master. Only the Spark version numbers were changed.