[SPRINTFIX][#61401818] Remove drupal caching functions and update theme endpoint to handle new return type.

This is the webapp merge for #58.

AllPlayers/allplayers-mainline#3336 must be merged prior to this.