Refactor and simplify everything

- Added many error checkes
- Generalized simple GET-Parse request
- Simplified methods with basic syntax techniques
- Added some assertions to specs
- Fixed some JSON parsing errors
Merge pull request #51 from kavu/first_refactoring

Refactor and simplify everything