View/clone practice, exercises on practice

Also added exercises file with get/create methods. Changed practices
page to use practice.php methods. Added/updated constants in db.php.