Add a utils for hugepages test.

During the hugepage test, we need to set the transparent hugepage, get the
transparent hugepage state, prepare a c file for test.
This utils contain those funcitons.

Signed-off-by: Weiqing Wang <wangwq.fnst@cn.fujitsu.com>
There is a dir used to store the test related code. You can put this code directly under shared/scripts. And use it directly in your test script.