Fix HAL representation for upload response.

Add href key to self and statement links.

Also changes behaviour of Statements::Location. It now handles only file system location and statement id.
Code coverage with simplecov
Check ruby style with rubocop.
Fix style errors reported by rubocop.