Add type converter aliases for primitive types.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1597373 13f79535-47bb-0310-9956-ffa450edef68
Make PatternLayout factory typed.

  - Added createDefaultLayout method for convenience.
  - Added createCustomLayout method (one with just a pattern, one with a pattern and config) for convenience.
  - Updated classes where appropriate to use above methods.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1597374 13f79535-47bb-0310-9956-ffa450edef68
Suppress compiler warnings that are only being printed due to language limitations in Java.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1597375 13f79535-47bb-0310-9956-ffa450edef68
Migrate AsyncAppender to use typed parameters in factory method.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1597376 13f79535-47bb-0310-9956-ffa450edef68
Change Boolean to boolean in factory method.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1597377 13f79535-47bb-0310-9956-ffa450edef68
Update JsonLayout to use typed parameters in factory methods.

  - Also fixed typos in javadoc (XML -> JSON).

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1597378 13f79535-47bb-0310-9956-ffa450edef68