Adding the database to the replicator tab can be simply done with the replicate- method of the notesdatabase- class or via NotesUiWorkspace- methods. For the second suggestion you can find an example here.
Unfortunately you can not start background replication with LotusScript, you have to wait for it to occur.