add couse key verification decorator in common for use in both studio an...

...d lms

PLAT-88
@waheedahmed @symbolist @adampalay 
This can be done in a single line:
```
course_key = kwargs.get('course_key_string') or kwargs.get('course_id')
```