If you just want to wrap the post title in a permalink, change this:
echo '<h3 class="entry-title media-title">' . get_the_title() . '</h3>';
…to this:
echo '<a href="' . get_permalink() . '"><h3 class="entry-title media-title">' . get_the_title() . '</h3></a>';
Codex reference: get_permalink()