Changed DeqpTest next() to accept pattern.

Modified the DeqpTest class - next() accepts optional pattern parameter.

Signed-off-by: Janusz Sobczak <janusz.sobczak@mobica.com>
Added missing 'use strict'.

Signed-off-by: Janusz Sobczak <janusz.sobczak@mobica.com>