updated structure to support unex

changed student and instructor PK to use loginid rather than pidm
updated term filter to any currently open term (doesn't matter if
quarter or semester)
updated queries to reflect db changes
updated person to not have id