Ignore missing blank line after access modifier at end of block

EmptyLinesAroundAccessModifier should not complain about a missing blank line after the access modifier if the next line is the end of a block.

This also resolves #1287. 

(It's my first PR for rubocop let me know if I missed something.)