added spell filters

added methods to perform inner and outer joins on spell table, using a
filter dictionary