Added ability to get votes by active state. Created tests for active state on votes as well as rating limitatiosn