Made LTI code role-aware.
Note that at least with Collab we will not be able to programmatically assign a role of TA to any user. We must choose Instructor|Student
-Added validation to editProfie.php
-Set length restrictions on feilds when adding a network
- fixed issue with undefined variable in discussion.php