Add checks for end alignment for blocks

This fixes the pending spec about end alignment for blocks
and adds additional checks for cases when the return value
of the block is used in assignment.

Cleaned the inline block in the spec_helper.rb file that didn't
comply with the checks.
Fix exception at location.real_column in the JSON formatter

We have defined Rubocop::Cop::Location#real_column, but most cases the
location attribute value of Offence is actually Parser::Source::Range
and it does not respond to #real_column.
Separate and improve the specs of EndAlignment cop
Add another way to align the end keyword of a block

EndAlignment uses by default StartOfAssignment schema.
This aligns the end with the start of the assignment expression.

This commit allow you to align based on the method that calls the block.
For example:
  variable = lambda do |i|
               i
             end

Set 'BlockAlignSchema' to 'StartOfBlockCommand' in the configuration
if you want to use that schema.
Merge pull request #310 from edzhelyov/add-block-to-end-alignment

Add checks for end alignment of blocks
Merge pull request #311 from yujinakayama/fix-json-formatter

Fix exception at location.real_column in the JSON formatter
Mark the given range instead of 1st pos in clang formatter.

Currently, the given range is still just one column for a lot of cops.
Remove Rubocop::Cop::Location and use Parser::Source::Range instead.
Improve the choice of which range is reported in some cops.
Update CHANGELOG regarding change in clang formatter.
Merge pull request #314 from jonas054/extend_details

Extend details
Move the rails cops exclussion into the #run method
Use empty array to collect cop offences

If we have syntax errors the method will return early and the code will
never actually return the syntax errors and the real offences together.
Using the empty array more clearly express the intend.
Merge pull request #313 from edzhelyov/small-cleanup-in-cli

Move the rails cops exclussion into the #run method
Replace obsolete Location with Parser::Source::Range in documentation
Code style
Code style
Rename MethodInvocationParentheses to MethodCallParentheses
Move an entry in the changelog to the new features section
Mention #292 in the Changelog