Move inline Javascript to custom.js

Move Javascript code from ERB template to standalone file for cleaner
organization
Fix bug with label hover not working

Renaming from ".theme-display" to ".display" works since the class was
renamed a few commits ago
Move complex templating code to partials

Code that was rendering the checkboxes / gallery displays (for themes,
plugins) has been moved to seperate partials for code organization.