Added Integer#days to convert integers into days (in s) easily.
Added vim swap files to .gitignore.
Added class APIError.
Added class AuthentificationError.
Added API class as well as API.new, API#user_login, API#method_missing and API#request2body.
Added API#get_credentials.