add window fuction support.
adjust package sequence and comments.
format according spark code style, and add window cluster(window <name> as) test case.
Merge pull request #228 from ChengXiangLi/hive0.11

add window fuction support.