Added method to convert dp to pixels.
Merge pull request #824 from gorco/dpToPx

Added method to convert dp to pixels.