Added experimental function to purge hibernate caches
Added things needed to evict selected cache and stuff.
Added jsf view scope for spring
Created new branch importPersonSubject
Added test to reproduce issue with subjects update upon import
Adding missing subjects and saved subjects during results import implemented
Added test to verify if subjects that weren't assigned any terms are removed from person's list. Only interactive subjects are treated that way.
Added a bit of defensive checks to prevent failure due to invalid data. Now, such cases are reported, but do not cause the entire operation to fail.
Created new branch databaseChangeManagement
Merged in addViewScope (pull request #2)

View scope for spring
Extracted subject list filtering to service layer, tested it.
Merged master into importPersonSubject
Merged in importPersonSubject (pull request #4)

Person subjects update upon import
Merged in purgeHibernateCache (pull request #1)

Purge hibernate caches
Merged master into databaseChangeManagement
Added new view and logic for selecting subjects.
TODO: Make bean view scoped
Fixed removing saved preferences
Added session scope to subject chooser bean
Changed the way preferences existence is checked (it's now done by validating StudentPointsPerTerm)
Renamed misleading button name.