From http://drupal.stackexchange.com/questions/19877/how-to-programmatically-add-links-to-the-links-variable