updates for mdl 2.7

* Updates deprecated function calls to get_context_instance().
* Adds GNU license per Moodle Coding Standards: http://docs.moodle.org/dev/Coding_style
* Bumps version.
* Adds requirement for Moodle 2.5.0.
* Declares dependency for block_cps