LU-1842 quota: t-f changes for new quota

Add new quota functions in the t-f according to new quota
architecutre, at the same time, old functions are kept for
the interoprability with old server.

The patch also adds version_code() and lustre_version_code()
functions into the test framework.

One minor defect fixed:
- in facet_up(), add '-x' option to grep for exact matching,
otherwise this function will not work in single node test;

Test-Parameters: envdefinitions=ENABLE_QUOTA=yes testlist=sanity-quota

Signed-off-by: Niu Yawei <niu@whamcloud.com>
Change-Id: I7d96b7ea7cd14331aee7cfcca711a4e876025e2f
Signed-off-by: Yu Jian <yujian@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/4897
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
LU-2420 tests: Have POSIX testing on b1_8

Have POSIX testing automated on b1_8 as it is on master.
LU-2274 port is included to change the baseline filesystem to ext3
for POSIX testing on SLES distro.
Also, this patch adds add_group() and add_user() functions into the
test-framework.sh. They are used by setup_posix_users() in posix.sh.

port of b2_1 patch f55a2af51af0bbb1d97e6987a45ca501adbc4ab6
port of b2_1 patch f9531ab0803cbafcb68003f3470307e4b826129f

Test-Parameters: envdefinitions=SLOW=yes testlist=posix

Signed-off-by: Liu Ying <emoly.liu@intel.com>
Change-Id: I8e3e8d5e87b13f4fd2d0b972d2161e9f1afbc4e9
Reviewed-on: http://review.whamcloud.com/4894
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Minh Diep <minh.diep@intel.com>
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>