Removed code that is now in libpackageinfo

NOTE: http://github.com/ashikase/libpackageinfo
Added string-number conversion functions