Fixed Service Factory and tests
Added Facebook JavaScript SDK snippet
Fixed config nodes
Fix exception interface
phpdoc