Fixes for rewrite

add test for rewriting into process_url function
add test for form rewrite url
remove if / else statment into process_url function
fixes for rewrite into login form and form class
fix tests
fix process_url and tests
aliases functions updated, related to urls generation
common funcs moved process_url() into aliases
rewrite module: created function aliases and new methods for todo
rewrite tests up
db admin up
rewrite module bugfixes
rewrite fixed order of url params
removed function array_replace_recursive(), as it is built-in starting from 5.3+