Added functionality from SearchedPostDAO to PostDAO. 
Created some more functionality methods
Merge branch 'database'
Resolved compiling errors due to PostDAO-SearchedPostDAO changes