add Constant 'SCAN' and add public modifier for QRCode's type constant

Hi caspar,
  Thanks for your work on WechatSDK, it's a nice wrapper of Wechat.
  Recently I've been working on WechatSDK and found some minor improments.
 Hope u would accept them:)