Better methodology for setting course id on new assignments

Instead of just hardcodedness, use params if given or display a select box.
Same method as 38912fe for better classroom id setting.