instructure/CanvasAPI — pull request #32 by nbutton23 (2014-06-12 13:46:00+00:00)
Title: Fix errors introduced when we switched to parcelable. 

``` java
this.assignment = in.readParcelable(((Object) assignment).getClass().getClassLoader());
```
This will cause a NP as assignment can be null. To fix this I changed it to this.
``` java
this.assignment = in.readParcelable(Assignment.class.getClassLoader());
```

``` java
public static CanvasContext getGenericContext(final Type type, final long id, final String name) {/* code*/}
```
I changed this function to return an actual user/course/group/section.

I am not sure why CanvasContext had all the spacing changes.