Put in All the WP awesomeness from Hybrid Core into the functions.php

Signed-off-by: Kaj Rietberg <kaj@kajrietberg.nl>