add rebuild database indexes & cleanup

* Add rebuild database indexes step to MySQL to PostgreSQL installations
* Use relative links where possible
@bbodenmiller Thanks for contributing this. Just one question, was it intentional to remove this line?