Do not use typename outside of templates
Do not use typename outside of templates

Closes #2231
Review 1413 by @srh

AntouanK/rethinkdb,marshall007/rethinkdb,pap/rethinkdb,ajose01/rethinkdb,pap/rethinkdb,JackieXie168/rethinkdb,Qinusty/rethinkdb,jesseditson/rethinkdb,sontek/rethinkdb,catroot/rethinkdb,dparnell/rethinkdb,wojons/rethinkdb,robertjpayne/rethinkdb,gavioto/rethinkdb,yakovenkodenis/rethinkdb,sontek/rethinkdb,catroot/rethinkdb,sebadiaz/rethinkdb,spblightadv/rethinkdb,spblightadv/rethinkdb,elkingtonmcb/rethinkdb,robertjpayne/rethinkdb,matthaywardwebdesign/rethinkdb,losywee/rethinkdb,marshall007/rethinkdb,JackieXie168/rethinkdb,mquandalle/rethinkdb,urandu/rethinkdb,ajose01/rethinkdb,mcanthony/rethinkdb,marshall007/rethinkdb,jmptrader/rethinkdb,sebadiaz/rethinkdb,marshall007/rethinkdb,pap/rethinkdb,losywee/rethinkdb,eliangidoni/rethinkdb,mcanthony/rethinkdb,marshall007/rethinkdb,losywee/rethinkdb,scripni/rethinkdb,greyhwndz/rethinkdb,catroot/rethinkdb,wkennington/rethinkdb,urandu/rethinkdb,scripni/rethinkdb,wojons/rethinkdb,eliangidoni/rethinkdb,robertjpayne/rethinkdb,marshall007/rethinkdb,greyhwndz/rethinkdb,mcanthony/rethinkdb,victorbriz/rethinkdb,4talesa/rethinkdb,sbusso/rethinkdb,ayumilong/rethinkdb,sebadiaz/rethinkdb,ajose01/rethinkdb,bchavez/rethinkdb,rrampage/rethinkdb,captainpete/rethinkdb,bchavez/rethinkdb,mquandalle/rethinkdb,Wilbeibi/rethinkdb,victorbriz/rethinkdb,mcanthony/rethinkdb,sbusso/rethinkdb,captainpete/rethinkdb,Qinusty/rethinkdb,matthaywardwebdesign/rethinkdb,gdi2290/rethinkdb,ajose01/rethinkdb,Wilbeibi/rethinkdb,wojons/rethinkdb,KSanthanam/rethinkdb,robertjpayne/rethinkdb,RubenKelevra/rethinkdb,elkingtonmcb/rethinkdb,Wilbeibi/rethinkdb,captainpete/rethinkdb,lenstr/rethinkdb,losywee/rethinkdb,RubenKelevra/rethinkdb,Qinusty/rethinkdb,ayumilong/rethinkdb,gavioto/rethinkdb,bchavez/rethinkdb,losywee/rethinkdb,4talesa/rethinkdb,urandu/rethinkdb,dparnell/rethinkdb,sontek/rethinkdb,wojons/rethinkdb,mbroadst/rethinkdb,Wilbeibi/rethinkdb,lenstr/rethinkdb,elkingtonmcb/rethinkdb,pap/rethinkdb,AntouanK/rethinkdb,pap/rethinkdb,rrampage/rethinkdb,alash3al/rethinkdb,dparnell/rethinkdb,AntouanK/rethinkdb,sbusso/rethinkdb,gavioto/rethinkdb,jesseditson/rethinkdb,ayumilong/rethinkdb,niieani/rethinkdb,sebadiaz/rethinkdb,RubenKelevra/rethinkdb,wkennington/rethinkdb,rrampage/rethinkdb,greyhwndz/rethinkdb,scripni/rethinkdb,wujf/rethinkdb,Qinusty/rethinkdb,matthaywardwebdesign/rethinkdb,niieani/rethinkdb,robertjpayne/rethinkdb,gavioto/rethinkdb,yaolinz/rethinkdb,bpradipt/rethinkdb,Qinusty/rethinkdb,JackieXie168/rethinkdb,lenstr/rethinkdb,jmptrader/rethinkdb,grandquista/rethinkdb,greyhwndz/rethinkdb,yaolinz/rethinkdb,gavioto/rethinkdb,sontek/rethinkdb,yaolinz/rethinkdb,gdi2290/rethinkdb,dparnell/rethinkdb,mquandalle/rethinkdb,grandquista/rethinkdb,bchavez/rethinkdb,niieani/rethinkdb,Wilbeibi/rethinkdb,captainpete/rethinkdb,elkingtonmcb/rethinkdb,sbusso/rethinkdb,yakovenkodenis/rethinkdb,spblightadv/rethinkdb,wojons/rethinkdb,mbroadst/rethinkdb,wujf/rethinkdb,alash3al/rethinkdb,gdi2290/rethinkdb,alash3al/rethinkdb,scripni/rethinkdb,scripni/rethinkdb,ayumilong/rethinkdb,wkennington/rethinkdb,bpradipt/rethinkdb,mbroadst/rethinkdb,alash3al/rethinkdb,bpradipt/rethinkdb,jmptrader/rethinkdb,KSanthanam/rethinkdb,greyhwndz/rethinkdb,rrampage/rethinkdb,4talesa/rethinkdb,mbroadst/rethinkdb,ayumilong/rethinkdb,wujf/rethinkdb,mcanthony/rethinkdb,tempbottle/rethinkdb,spblightadv/rethinkdb,captainpete/rethinkdb,yakovenkodenis/rethinkdb,lenstr/rethinkdb,mcanthony/rethinkdb,sebadiaz/rethinkdb,urandu/rethinkdb,KSanthanam/rethinkdb,greyhwndz/rethinkdb,dparnell/rethinkdb,mquandalle/rethinkdb,jmptrader/rethinkdb,mcanthony/rethinkdb,eliangidoni/rethinkdb,pap/rethinkdb,tempbottle/rethinkdb,pap/rethinkdb,niieani/rethinkdb,tempbottle/rethinkdb,alash3al/rethinkdb,Wilbeibi/rethinkdb,alash3al/rethinkdb,tempbottle/rethinkdb,ayumilong/rethinkdb,RubenKelevra/rethinkdb,sebadiaz/rethinkdb,elkingtonmcb/rethinkdb,sbusso/rethinkdb,Wilbeibi/rethinkdb,sbusso/rethinkdb,niieani/rethinkdb,eliangidoni/rethinkdb,spblightadv/rethinkdb,ajose01/rethinkdb,JackieXie168/rethinkdb,rrampage/rethinkdb,bpradipt/rethinkdb,captainpete/rethinkdb,lenstr/rethinkdb,grandquista/rethinkdb,AntouanK/rethinkdb,dparnell/rethinkdb,spblightadv/rethinkdb,yaolinz/rethinkdb,AntouanK/rethinkdb,JackieXie168/rethinkdb,bchavez/rethinkdb,4talesa/rethinkdb,niieani/rethinkdb,bpradipt/rethinkdb,jmptrader/rethinkdb,scripni/rethinkdb,greyhwndz/rethinkdb,gdi2290/rethinkdb,AntouanK/rethinkdb,wkennington/rethinkdb,gdi2290/rethinkdb,niieani/rethinkdb,victorbriz/rethinkdb,dparnell/rethinkdb,alash3al/rethinkdb,greyhwndz/rethinkdb,sontek/rethinkdb,bpradipt/rethinkdb,gavioto/rethinkdb,Qinusty/rethinkdb,urandu/rethinkdb,AntouanK/rethinkdb,bpradipt/rethinkdb,jesseditson/rethinkdb,ajose01/rethinkdb,jesseditson/rethinkdb,tempbottle/rethinkdb,sontek/rethinkdb,matthaywardwebdesign/rethinkdb,losywee/rethinkdb,matthaywardwebdesign/rethinkdb,ayumilong/rethinkdb,tempbottle/rethinkdb,wujf/rethinkdb,urandu/rethinkdb,scripni/rethinkdb,captainpete/rethinkdb,bpradipt/rethinkdb,rrampage/rethinkdb,matthaywardwebdesign/rethinkdb,mquandalle/rethinkdb,catroot/rethinkdb,marshall007/rethinkdb,ajose01/rethinkdb,grandquista/rethinkdb,pap/rethinkdb,wujf/rethinkdb,Qinusty/rethinkdb,4talesa/rethinkdb,elkingtonmcb/rethinkdb,bchavez/rethinkdb,lenstr/rethinkdb,grandquista/rethinkdb,tempbottle/rethinkdb,mquandalle/rethinkdb,urandu/rethinkdb,robertjpayne/rethinkdb,ayumilong/rethinkdb,gavioto/rethinkdb,yakovenkodenis/rethinkdb,sebadiaz/rethinkdb,eliangidoni/rethinkdb,JackieXie168/rethinkdb,yaolinz/rethinkdb,wkennington/rethinkdb,mbroadst/rethinkdb,robertjpayne/rethinkdb,eliangidoni/rethinkdb,KSanthanam/rethinkdb,yaolinz/rethinkdb,catroot/rethinkdb,bchavez/rethinkdb,bchavez/rethinkdb,JackieXie168/rethinkdb,mbroadst/rethinkdb,mbroadst/rethinkdb,losywee/rethinkdb,grandquista/rethinkdb,AntouanK/rethinkdb,mquandalle/rethinkdb,urandu/rethinkdb,matthaywardwebdesign/rethinkdb,Qinusty/rethinkdb,jmptrader/rethinkdb,JackieXie168/rethinkdb,robertjpayne/rethinkdb,sbusso/rethinkdb,rrampage/rethinkdb,eliangidoni/rethinkdb,bchavez/rethinkdb,jesseditson/rethinkdb,tempbottle/rethinkdb,victorbriz/rethinkdb,RubenKelevra/rethinkdb,spblightadv/rethinkdb,JackieXie168/rethinkdb,bpradipt/rethinkdb,spblightadv/rethinkdb,grandquista/rethinkdb,catroot/rethinkdb,KSanthanam/rethinkdb,yaolinz/rethinkdb,rrampage/rethinkdb,victorbriz/rethinkdb,sontek/rethinkdb,grandquista/rethinkdb,elkingtonmcb/rethinkdb,yakovenkodenis/rethinkdb,jmptrader/rethinkdb,wojons/rethinkdb,catroot/rethinkdb,jesseditson/rethinkdb,gavioto/rethinkdb,alash3al/rethinkdb,Qinusty/rethinkdb,catroot/rethinkdb,yakovenkodenis/rethinkdb,victorbriz/rethinkdb,marshall007/rethinkdb,eliangidoni/rethinkdb,lenstr/rethinkdb,jesseditson/rethinkdb,wkennington/rethinkdb,gdi2290/rethinkdb,wujf/rethinkdb,RubenKelevra/rethinkdb,KSanthanam/rethinkdb,yakovenkodenis/rethinkdb,mbroadst/rethinkdb,wkennington/rethinkdb,sontek/rethinkdb,elkingtonmcb/rethinkdb,matthaywardwebdesign/rethinkdb,wojons/rethinkdb,4talesa/rethinkdb,jesseditson/rethinkdb,4talesa/rethinkdb,KSanthanam/rethinkdb,4talesa/rethinkdb,niieani/rethinkdb,mquandalle/rethinkdb,yaolinz/rethinkdb,sebadiaz/rethinkdb,mcanthony/rethinkdb,RubenKelevra/rethinkdb,victorbriz/rethinkdb,losywee/rethinkdb,Wilbeibi/rethinkdb,mbroadst/rethinkdb,captainpete/rethinkdb,robertjpayne/rethinkdb,wojons/rethinkdb,yakovenkodenis/rethinkdb,scripni/rethinkdb,grandquista/rethinkdb,wujf/rethinkdb,sbusso/rethinkdb,wkennington/rethinkdb,jmptrader/rethinkdb,gdi2290/rethinkdb,dparnell/rethinkdb,ajose01/rethinkdb,victorbriz/rethinkdb,KSanthanam/rethinkdb,dparnell/rethinkdb,lenstr/rethinkdb,eliangidoni/rethinkdb,RubenKelevra/rethinkdb