Further fixes upgrade.php

Fixed upgrade.php to address bugs in upgrade process.
Update upgrade.php
Update version.php
Provision from within course with multiple servers

Reintroduces the ability to provision moodle courses to Panopto from
within the course itself, allowing the user to decide which server to
provision to if more than one is available.
minor fix
Cleanup and bug fix

Fixed and removed superfluous code. Also fixed a potential crash if no
servers are defined.
Removed an echo

I had a debug notice I missed
Cleanup
Merge pull request #28 from Panopto/activeDev

Active dev