QML work: Pet Movement and Refactoring

-Pet basic movements left and right
-Collision detection
-Javascript libraries: SpriteFunctions and UIConstants