added serialization test for page
added serialization test for site
Fixed serialization of site and page. Make sure all internal service exceptions are caught and wrap in ApiException