Added auto-loading for foreigner when used without rails.