add granted and num_claims fields to application schema
fixed references for application schemas, 4.3 app schema now working