Leaderboard Function

Added function that can return the ranking for the current user, or a list of rankings for all users, limited by default to a single page at a time. This can be overridden if needed by setting $posts_per_page to a very high number.