Added 'reload' command.

Command to reload current page.
Implemented passive/active mode.

In passive mode, no user input is accepted.
Added tests for passive/active mode.