Moved code examples out from under api/ folder
Added ordereddict dependency for python 2.6 support. Added more unit tests for best practice validation.