create middleware Mobile Detection on core
Add custom var settings check mobile, default is False
add __init on MobileDetectionMiddleware
precess regex this device
Add rules check mobile, on MobileDetectionMiddleware
* http user agent
* http accept
* user agents test match regex
Fix pep8 on core middleware
refactoring on MobileDetectionMiddleware, W601 .has_key() is deprecated, use 'in'