Solved some style problems signaled by cppcheck
Changed repository addresses to make travis work