Initial API refactor for prefix scanning on types.
Updated tests and implementation for type prefix scanning
Added extra param to relation manager
Merge branch 'two-dot-o' of github.com:usergrid/usergrid into two-dot-o