chore(api): use apiBasePath as URL parameter before the hash
chore(cdnify): use grunt-htmlrefs to cdnify jquery and angular scripts