PackageInfo: Small coding-style cleanup.
HaikuDepot: Rating related fixes.

 * Fixed retrieving rating summary for the list view.
 * Rating and command are optional in the web app (or probably you need
   to specify at least one of them). Handle ratings with just the comment
   but no rating in average calculation.