Update to latest TEA. 
Use $(INSTALL_DATA_DIR) in stead of mkdir in Makefile. 
Add more versionsed settings for fossil.
Update to latest TEA. 
Make test-suite runnable from installed directory.