update build_typeURI to drop query string

capture query string in requestPath attribute. use path sans query
string to build typeURI

Change-Id: Ia4ad4ada6172ad56d2f17665942fb7a767f97c3e