made lib more portable:
remove silex dependency
replace regex with php-user-agent
add tests