[Fix #1287] check if next line is end of block

This fixes the EmptyLinesAroundAccessModifier cop by accpeting a missing blank
line after the access modifer if the next lines closes a block (with and `end`)

update changelog

change method name to `body_end`