New functions

Added a function for checking username characters
Added a function for obtaining information from username
Added constants for mojang URLs
Added a function for POST JSON requests