Fixes photo search url for Instagram, when keyword contains multiple works separated by space. Fixes #47
Refactors some code.