monkey-patch coreadm to prevent invalid patterns

Work around the following coreadm bug: http://smartos.org/bugview/OS-3042
by monkey-patching coreadm so that when students set a global pattern with
a relative path, coreadm fails.

Fixes #9