Copyright appear multiple times in docs generated via rake task (`apipie:static`)

Copyright appear multiple times in docs generated via rake task (`apipie:static`).
Added check for `apipie_footer` content before add new content