PHOENIX-966 Context classloader for Phoenix classes

Temporarily set the current thread's context classloader in calls
that require creating an HBase configuration or accessing Phoenix
coprocessor endpoint classes.