change docked app interface

1. change Docked signal to id.
2. add IsDocked method.