Update dependencies.

Switch to lightweight zend framework repo.
Remove smarty 2.
Switch install to smarty 3.