Further changes to fully support PDO

remove old edit code
remove old search code
Merge branch 'master' of github.com:foxbow/ebm