Fixes for issues 273 and 274 in coto/gae-boilerplate.

The actual changes are:
1. Additions on lines 57 and 127
2. Modification on line 61 (old) / 62 (new), adding "collapse" in the class.