Add Tapestry dependencies; fix some warts.