Updated installation profile.

Added relay module to install profile; updated template.php to get node
it of latest pinned card.