pecan: cleanup, use global vars and staticmethod

Change-Id: If5a7c1b4b71380053ed650ddc8e9928422869807
A proper check of UuidType

The validation method of the UuidType should return a valid value.

Change-Id: I0964f3b2a046df48cdf200d7896c60f331789eac
Fixing spelling mistakes

Change-Id: Iaff4fc336a2b1a1c7998717baa65912dba528b66
Fix default handling for zero values

When int and float arguments to controllers default to zero and no value
is provided in the request, the controller is being passed None instead
of 0.

Closes-bug: #1291084
Change-Id: I35c034e4a793a44d2ddd376046e7dbb841ca13b6
Merge "pecan: cleanup, use global vars and staticmethod"
Merge "Fix default handling for zero values"