Added another way to detect encoding in RestClient (current one doesn't always work). Added support for getProjects(), getProject(String) and getIssueTypes() in JiraClient.