Shrinkify some images
Prevent direct access to template files
Tidy up phpDoc and comments in DPA_Shortcodes class.
Don't load custom JS as we aren't using it for anything just yet.
Add missing @since phpDoc to achievements() function.
Add new url-only parameter to dpa_user_avatar_link

This just returns the URL to the user's page, so we can use it in
custom <a> links throughout Achievements.
Add new design for template notifications

New template file added: feedback-achievement-unlocked.php
Don't enqueue notification template or style on a 404 page
Clear pending notifications when visiting your user achievement page
Rejig the post_status logic in dpa_has_achievements() to use the 'perm' query variable when appropriate.

Ported from bbPress revision 4673. Not sure if I need to do more, so
this may be reverted.
Give extra caps to Editor-role users: read_private_achievements, edit_others_achievement_progresses, and read_private_achievement_progresses