metamer: expectedReturnJS method fix
metamer: pages refactored: workaround for Mojarra 2.1.15 issue (http://java.net/jira/browse/JAVASERVERFACES-2666)