Added logDensity methods to AbstractReal/IntegerDistribution with naive default implementations and improved implementations for some current distributions. JIRA: MATH-1039 Patch provided by Aleksei Dievskii