[MONDRIAN-487] allow axis function to be used in schema formulas

relaxed compile-time validation
fix return type when unknown