added foreign key checks

and SQLExceptions for foreign key check errors.  added deimcal_literal,
added Value class and subclasses