Add functions defined in themes/custom.php

Originally, all the theme helper functions were defined in
themes/custom.php, and each theme had a symbolic link, also called
custom.php, pointing back to themes/custom.php. However, the initial
intent of custom.php is to contain helper fuctions pertaining to one
theme, and shared helper functions should ideally be defined in a
plugin.