Updated to use Doctrine ORM

Other enhancements:
- Pages & Partials have enhanced publishable behaviour
- The system will ask if you want to create a draft copy instead of editing the published version