Fixed multiple issues and did some improvements

Fixed issues in page navigation with sort variable set
Fixed sql injection vulnerability in Project Search
Included display of votes and views
Implementing view project page