Fixed documentation
fixed CS

Updated coding standard to PSR-2
fixed CS issues and typos
updated docs
changed fetch() and fetchAll() signature to an array of parameters for flexibility in the future
Added newline after return
Added spaces after comma in an array
Merge branch 'resultpager'