webpage.evaluate() should return null

when the given function returns undefined, evaluate() returns
null in PhantomJs. #phantomjsconformance

Returning null avoids an exception in utils.clone() in CasperJS.