Extracted a method for converting primitive types to wrapper types.

This functionality is needed by both normal and locale converters. Therefore,
it is useful to have it centrally available.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/beanutils/branches/java5@1537266 13f79535-47bb-0310-9956-ffa450edef68