Depend on OC6, use PHP templating, and remove md5.js

there's something for this in 3rdparty

@LEDfan