Added key checking to getPublicPosts
Added key checking to getPublicPosts

cmput404wi16/metablog-project,cmput404wi16/metablog-angular,cmput404wi16/metablog-angular,cmput404wi16/metablog-angular,cmput404wi16/metablog-project,cmput404wi16/metablog-project,cmput404wi16/metablog-angular