Added sparse parameter to OneHotEncoder 

Added a few lines of code in _transform method to enable OneHotEncoder to return dense matrices.
someone please review the pull request