Added entry scrub testing code.
Honor custom user_agent config setting.
Added code for session management (issue #11). Other minor code tweaks.
Removed .htaccess