Add fstat() and stat() call mocks

Can now fail calls to these Posix routines on demand and set the
contents to be filled into the struct stat buffer call parameter.