Allow IDs matching a certain hashtag to be returned by type.

This change avoids an N+1 problem when hashtags are returned with #hashtaggables.
Remove trailing whitespaces.
Add help for hashtagged_ids_for_type method.
Merge pull request #1 from michaelhayman/master

Allow IDs matching a certain hashtag to be returned by type.