Added `print_a` function for printing arrays

Lifted from the Stakers theme:
https://github.com/viewportindustries/starkers/blob/master/external/star
kers-utilities.php
figuring out how to crawl through custom post types
Updated global $current_user invokation