Code formatting and cleanup
Upgraded to latest version of Tapestry and fixed tests