EZC: added more VCWD_*() functions and tests

Tested VCWD_REALPATH() by adding a wrapper ezc_realpath(), which has
exactly the implementation of realpath() from PHP PHP. Copied in the
realpath() tests, replacing realpath() with ezc_realpath().