! Spellcheck enhancements

This adds support for PHP's enchant extension by abstracting the spell check functions (spell_init, spell_check and spell_init functions) and also fixes the bug causing the Spell Check button to throw a JS error.

Signed-off-by: Michael Eshom <oldiesmann@oldiesmann.us>