Merge pull request #14 from vania-pooh/master

Fixed PHP 5.4 incompatibility in empty() call
Merge pull request #15 from vania-pooh/master

Upgraded API to 1.1.x series
class annotation fix
Merge pull request #18 from tyz910/master

class annotation fix
Fixed attachments documentation
Added tests